<?php
namespace app\models\request;

use app\components\ActTimeValidator;
use yii\base\Model;

class ReqApplyAct extends Model
{
    private $actId ;

    private $userId;

    private $actTime;

    /**
     * @return mixed
     */
    public function getActTime()
    {
        return $this->actTime;
    }

    /**
     * @param mixed $actTime
     */
    public function setActTime($actTime)
    {
        $this->actTime = $actTime;
    }






    /**
     * @return mixed
     */
    public function getUserId()
    {
        return $this->userId;
    }

    /**
     * @param mixed $userId
     */
    public function setUserId($userId)
    {
        $this->userId = $userId;
    }



    /**
     * @return mixed
     */
    public function getActId()
    {
        return $this->actId;
    }

    /**
     * @param mixed $actId
     */
    public function setActId($actId)
    {
        $this->actId = $actId;
    }




    public function rules()
    {
        return [
            [['actId','actTime'], 'required'],
            ['actTime', ActTimeValidator::class],
        ];
    }


}